package com.xbongbong.paas.pojo.imports;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 合并的单元格的区域范围
 *
 * @author GuoJun.HU
 * @date 2019/4/24 15:56
 * @since V1.0
 */
@Getter
@Setter
@ToString
public class MergeRegionRangePojo implements Serializable {

    /**
     * 是否为合并的单元格
     */
    private Boolean isMergedCell;
    /**
     * 起始列
     */
    private Integer firstColumn;
    /**
     * 结束列
     */
    private Integer lastColumn;
    /**
     * 起始行
     */
    private Integer firstRow;
    /**
     * 结束行
     */
    private Integer lastRow;

    public MergeRegionRangePojo(Boolean isMergedCell, Integer firstRow, Integer lastRow, Integer firstColumn, Integer lastColumn) {
        this.isMergedCell = isMergedCell;
        this.firstRow = firstRow;
        this.lastRow = lastRow;
        this.firstColumn = firstColumn;
        this.lastColumn = lastColumn;
    }

}
